﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> 　
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    
</head>
<body>
    <nav>
        @Html.ActionLink("首页", "Index", "Home")
        | @Html.ActionLink("购物车", "Index", "Cart")
        @if (User.Identity.IsAuthenticated)
        {
            @:| @Html.ActionLink("注销", "Logout", "Member")
        }
        else
        {
            @:| @Html.ActionLink("登录", "Login", "Member")
            @:| @Html.ActionLink("注册", "Register", "Member")
        }
    </nav>
    @RenderBody()

    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)
</body>
</html>
